package org.haredot.dto;

import org.haredot.entity.Depart;
import org.haredot.entity.Position;
import org.haredot.entity.Role;
import org.haredot.entity.User;

import java.util.List;

public class UserDetailsDTO extends User {

    private List<Role> roles ;

    private List<Depart> departs ;

    private List<Position> positions ;

    public List<Role> getRoles() {
        return roles;
    }

    public void setRoles(List<Role> roles) {
        this.roles = roles;
    }

    public List<Depart> getDeparts() {
        return departs;
    }

    public void setDeparts(List<Depart> departs) {
        this.departs = departs;
    }

    public List<Position> getPositions() {
        return positions;
    }

    public void setPositions(List<Position> positions) {
        this.positions = positions;
    }
}
